package com.ayou.eggguard.farm.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.farm.pojo.Caution;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface CautionService {
    PageBean<Caution> getCautionList(Integer pageNum, Integer pageSize, LocalDateTime startTime,LocalDateTime endTime, String cautionType, String cautionStatus, String coopNumber);

    void updateCautionStatus(Integer id);


    List<Map<String, Object>> getCautionTypeCount();

    List<Map<String, Object>> getCautionCount();
}
